package com.bei_en.teacher.admin.model.questions.condition;

import java.util.*;

import com.bei_en.teacher.admin.model.BaseCondition;

import javax.validation.constraints.*;

import org.hibernate.validator.constraints.*;

import java.math.BigDecimal;

/**
 * 用于list页面的查询条件
 * 
 * @author Guocg
 * @date 2016-8-18 9:18:37
 */
public class QuestionsTypeCondition extends BaseCondition {

    private Date createTime1;   //生成时间起
    private Date createTime2;   //止
private String queryWhere;
	
	public String getQueryWhere() {
		return queryWhere;
	}

public void setQueryWhere(String queryWhere) {
		this.queryWhere = queryWhere;
	}

//    private Boolean isDel = false;
	private Integer id;  // 
	private String name;  // 名字
	private Integer parent;  // 父id
	private Integer type;  // 类型 1是题 2是真题
	private Integer provinceId;  //   省
	private Integer cityId;  //  市
	private Integer areaId;  //   区
	private String thumbnail;  //   缩略图
	private Integer educationId;  // 学段
	private Integer subjectId;  //  所属学科 或者科目
	private Long questionsSum;  // 题数和
	private Integer studyNum;  // 学习人数
	private Double makeFraction;  // 做的分数
	private Integer makeNum;  //  做题的总数
	private Integer yesNum;  //  做对的总数
	private Integer makeTime;  //  做的时间
	private Double weight;  // 权重
	private Long fractionSum;  //  分数和
	private Integer createTime;  // 创建时间
	private String year;  // 来源
	private String yearlike;
	
	public String getYearlike() {
		return yearlike;
	}

	public void setYearlike(String yearlike) {
		this.yearlike = yearlike;
	}
	public Integer getMakeNum() {
		return makeNum;
	}

	public void setMakeNum(Integer makeNum) {
		this.makeNum = makeNum;
	}

	public Integer getYesNum() {
		return yesNum;
	}

	public void setYesNum(Integer yesNum) {
		this.yesNum = yesNum;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	private Integer sortMode;//1是综合2是出题率3是题数4是人数
	
	
	public Double getMakeFraction() {
		return makeFraction;
	}

	public void setMakeFraction(Double makeFraction) {
		this.makeFraction = makeFraction;
	}

	public Integer getMakeTime() {
		return makeTime;
	}

	public void setMakeTime(Integer makeTime) {
		this.makeTime = makeTime;
	}

	public Integer getSortMode() {
		return sortMode;
	}

	public void setSortMode(Integer sortMode) {
		this.sortMode = sortMode;
	}

	public Double getWeight() {
		return weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}
	public void setId(Integer value) {
		this.id = value;
	}
	
	public Integer getId() {
		return this.id;
	}
	public void setName(String value) {
		this.name = value;
	}
	
	public String getName() {
		return this.name;
	}
	public void setParent(Integer value) {
		this.parent = value;
	}
	
	public Integer getParent() {
		return this.parent;
	}
	public void setType(Integer value) {
		this.type = value;
	}
	
	public Integer getType() {
		return this.type;
	}
	public void setProvinceId(Integer value) {
		this.provinceId = value;
	}
	
	public Integer getProvinceId() {
		return this.provinceId;
	}
	public void setCityId(Integer value) {
		this.cityId = value;
	}
	
	public Integer getCityId() {
		return this.cityId;
	}
	public void setAreaId(Integer value) {
		this.areaId = value;
	}
	
	public Integer getAreaId() {
		return this.areaId;
	}
	public void setThumbnail(String value) {
		this.thumbnail = value;
	}
	
	public String getThumbnail() {
		return this.thumbnail;
	}
	public void setEducationId(Integer value) {
		this.educationId = value;
	}
	
	public Integer getEducationId() {
		return this.educationId;
	}
	public void setSubjectId(Integer value) {
		this.subjectId = value;
	}
	
	public Integer getSubjectId() {
		return this.subjectId;
	}
	public void setQuestionsSum(Long value) {
		this.questionsSum = value;
	}
	
	public Long getQuestionsSum() {
		return this.questionsSum;
	}
	public void setStudyNum(Integer value) {
		this.studyNum = value;
	}
	
	public Integer getStudyNum() {
		return this.studyNum;
	}
	public void setFractionSum(Long value) {
		this.fractionSum = value;
	}
	
	public Long getFractionSum() {
		return this.fractionSum;
	}
	public void setCreateTime(Integer value) {
		this.createTime = value;
	}
	
	public Integer getCreateTime() {
		return this.createTime;
	}
	



    public Date getCreateTime1() {

	return createTime1;
    }

    public void setCreateTime1(Date createTime1) {

	this.createTime1 = createTime1;
    }

    public Date getCreateTime2() {

	return createTime2;
    }

    public void setCreateTime2(Date createTime2) {

	this.createTime2 = createTime2;
    }

//    public Boolean getIsDel() {
//
//	return isDel;
//    }
//
//    public void setIsDel(Boolean isDel) {
//
//	this.isDel = isDel;
//    }


}